home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / sysadm / unsharePrinters.z / unsharePrinters
Encoding:
Text File  |  2002-10-03  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. UUUUNNNNSSSSHHHHAAAARRRREEEEPPPPRRRRIIIINNNNTTTTEEEERRRRSSSS((((1111MMMM))))                                        UUUUNNNNSSSSHHHHAAAARRRREEEEPPPPRRRRIIIINNNNTTTTEEEERRRRSSSS((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      unsharePrinters - stop sharing local printers with remote hosts.
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////uuuunnnnsssshhhhaaaarrrreeeePPPPrrrriiiinnnntttteeeerrrrssss
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      uuuunnnnsssshhhhaaaarrrreeeePPPPrrrriiiinnnntttteeeerrrrssss is a privileged command that disables the sharing of
  16.      local printers by removing the ._r_h_o_s_t_s file for the "lp" user account.
  17.      Additionally, if the "lp" account has no password, '*' is written into
  18.      the password field for the "lp" account in /etc/passwd.  This prevents
  19.      the "lp" account on other hosts from being able to _r_l_o_g_i_n(3C) to the
  20.      local "lp" account, which disables printer sharing.
  21.  
  22. CCCCAAAAVVVVEEEEAAAATTTTSSSS
  23.      uuuunnnnsssshhhhaaaarrrreeeePPPPrrrriiiinnnntttteeeerrrrssss will not succeed in disabling access to local printers if
  24.      one of the files /_e_t_c/_h_o_s_t_s._e_q_u_i_v or /_e_t_c/_h_o_s_t_s._l_p_d contains entries
  25.      other than "localhost".  hosts named in either of these files will be
  26.      able to submit print jobs.  sssshhhhaaaarrrreeeePPPPrrrriiiinnnntttteeeerrrrssss detects these cases and issues
  27.      warnings to the system administration log, /_v_a_r/_s_y_s_a_d_m/_s_a_l_o_g.
  28.  
  29. FFFFIIIILLLLEEEESSSS
  30.      /var/spool/lp/.rhosts     List of hosts which can rlogin to the lp
  31.                                account.
  32.      /etc/passwd               Database of user accounts.
  33.      /etc/hosts.equiv          List of equivalent hosts.
  34.      /etc/hosts.lpd            Remote access file for the bsd spooler,
  35.                                llllppppdddd(1M).
  36.  
  37. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  38.      sysmgr(1M),  runpriv(1M), rlogin(1C), sharePrinters(1M), lpsched(1M),
  39.      lpd(1M), hosts.equiv(4).
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.